import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';

//列的数据
export const columns: BasicColumn[] = [
    {
    title: '所属部门',
    dataIndex: 'sysOrgCode',
   },
   {
    title: '分类',
    dataIndex: 'category'
   },
   {
    title: '值',
    dataIndex: 'statusValue'
   },
   {
    title: '名称',
    dataIndex: 'statusText'
   },
   {
    title: '前景色',
    dataIndex: 'forecolor'
   },
   {
    title: '背景色',
    dataIndex: 'backcolor'
   },
   {
    title: '图标',
    dataIndex: 'ico'
   },
   {
    title: '描述',
    dataIndex: 'description'
   },
   {
    title: '备注',
    dataIndex: 'remarks'
   },
   {
    title: '类型',
    dataIndex: 'type'
   },
   {
    title: '排序',
    dataIndex: 'sorter'
   },
];
//列表搜索框的数据
export const searchFormSchema: FormSchema[] = [
 {
    label: '所属部门',
    field: 'sysOrgCode',
    component: 'Input'
  },
 {
    label: '分类',
    field: 'category',
    component: 'Input'
  },
];

